home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / latex209 / contrib / geom / geomar12.sty < prev    next >
Text File  |  1993-01-11  |  4KB  |  121 lines

  1. % $Header: /home/tampa_a/fac/levy/texts/macros/geom/RCS/geomart12.sty,v 1.1 92/04/07 09:09:07 levy Exp $
  2.  
  3. %
  4. % This is the geom style art12 file, by Silvio Levy.
  5. % It contains modifications to art12.sty of 22 Dec 87
  6. %
  7. % \typeout{Reading geomart12.sty $Revision: 1.1 $ (changes to art12.sty)}
  8.  
  9. % make the \parsep 0pt
  10.  
  11. \def\small{\@setsize\small{13.6pt}\xipt\@xipt
  12. \abovedisplayskip 11pt plus3pt minus6pt%
  13. \belowdisplayskip \abovedisplayskip
  14. \abovedisplayshortskip  \z@ plus3pt%   
  15. \belowdisplayshortskip  6.5pt plus3.5pt minus3pt
  16. \def\@listi{\leftmargin\leftmargini \parsep 0pt 
  17.      \itemsep 4.5pt plus 2pt minus 0pt 
  18.      \topsep 9pt plus 3pt minus 5pt}}
  19.  
  20. \def\footnotesize{\@setsize\footnotesize{12pt}\xpt\@xpt
  21.   \abovedisplayskip 10pt plus2pt minus5pt
  22.   \belowdisplayskip \abovedisplayskip
  23.   \abovedisplayshortskip 0pt plus3pt
  24.   \belowdisplayshortskip 6pt plus3pt minus3pt
  25.   \def\@listi{\leftmargin\leftmargini \parsep 0pt
  26.     \itemsep 3pt plus 2pt minus 0pt
  27.     \topsep 6pt plus 2pt minus 2pt}}
  28.  
  29. % Make chapter and section heads less huge 
  30.  
  31. \let\chapheadsize=\LARGE
  32. \let\huge=\Large
  33. \let\Large=\large
  34.  
  35. % Increase the page size 
  36.  
  37. \textwidth 5.5in \oddsidemargin .6in \evensidemargin .4in 
  38.  
  39. \textheight = 44\baselineskip \advance\textheight by \topskip \topmargin -.25in
  40.  
  41. % Increase the parindent
  42.  
  43. \parindent 20pt 
  44.  
  45. % Extra vertical space, in addition to 
  46. % \parskip and \topsep, added when user
  47. % leaves blank line before environment.
  48. % (Changed from 3 +2 -2)
  49.  
  50. \partopsep 2pt plus 1pt minus 1pt 
  51.  
  52. % mess with \addcontentsline; \chapheadsize instead of \Huge
  53.  
  54. \def\@part[#1]#2{\ifnum \c@secnumdepth >-1\relax  % IF secnumdepth > -1
  55.         \refstepcounter{part}                     %   THEN step part counter
  56.         \def\@tempa{\addcontentsline{toc}{part}}  %
  57.         \expandafter\@tempa\expandafter{\thepart  %        add toc line
  58.           \hspace{1em}#1}\else                    %   ELSE add unnumbered line
  59.         \addcontentsline{toc}{part}{#1}\fi        % FI
  60.    {\centering                       
  61.     \ifnum \c@secnumdepth >-1\relax  % IF secnumdepth > -1
  62.       \Large\bf Part \thepart        %   THEN Print 'Part' and number
  63.     \par\nobreak                     %         in \Large bold.
  64.     \fi                              % FI
  65.     \chapheadsize \bf                % 
  66.     #2\markboth{}{}\par}
  67.     \nobreak                       % TeX penalty to prevent page break.
  68.     \vskip 3ex                     % Space between title and text.
  69.    \@afterheading                  % Routine called after part and
  70.     }                              %     section heading.
  71.  
  72. \def\@spart#1{{\centering
  73.     \chapheadsize \bf                       
  74.     #1\par}                         % Title.
  75.     \nobreak                        % TeX penalty to prevent page break.
  76.     \vskip 3ex                      % Space between title and text.
  77.     \@afterheading                  % Routine called after part and
  78.   }                                 %     section heading.
  79.  
  80. % Normalize according to \parindent
  81.  
  82. \leftmargini\parindent
  83. \listparindent .8\parindent
  84. \leftmarginii .8\parindent
  85. \leftmarginiii .8\parindent
  86. \leftmarginiv .8\parindent
  87. \leftmarginv .8\parindent
  88. \leftmarginvi .8\parindent
  89. \leftmargin\leftmargini
  90. \labelwidth\leftmargini\advance\labelwidth-\labelsep
  91.  
  92. % Make \parsep 0
  93.  
  94. \def\@listI{\leftmargin\leftmargini 
  95.   \topsep 10pt plus 4pt minus 6pt%
  96.   \itemsep 5pt plus 2.5pt minus 1pt
  97.   \parsep \z@}
  98.  
  99. \let\@listi\@listI
  100. \@listi 
  101.  
  102. \def\@listii{\leftmargin\leftmarginii
  103.  \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  104.  \topsep 5pt plus 2.5pt minus \p@
  105.  \itemsep 2.5pt plus \p@ minus \p@
  106.  \parsep \z@}
  107.  
  108. \def\@listiii{\leftmargin\leftmarginiii
  109.  \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
  110.  \topsep 2.5pt plus \p@ minus \p@ 
  111.  \parsep \z@ \partopsep \p@ plus \z@ minus \p@
  112.  \itemsep \topsep}
  113.  
  114. % $Log:    geomart12.sty,v $
  115. %Revision 1.1  92/04/07  09:09:07  levy
  116. %Initial revision
  117. %
  118. %Revision 1.1  1992/03/20  22:38:55  levy
  119. %Initial revision
  120. %
  121.